<?php
//get address by id	
function getPriorityByID($priorityID){
	$qr ="SELECT * FROM priority WHERE PriorityID = $priorityID;";
	return mysql_query($qr);
}

//get all priority
function getAllPriority(){
	$qr ="SELECT * FROM priority;";
	return mysql_query($qr);
}
?>